import { postRequest, getRequest, deleteRequest, putRequest } from '/src/lib/axios';

export const rolesAutoApi = {

    //    http://192.168.15.79:9526/maxkey-mgt-api/security/grading/apps/member?gradingName=&displayName=&username=&roleId=&roleName=&appName=&appId=&startDate=&endDate=&startDatePicker=1728433875478&endDatePicker=1731025875478&pageSize=10&pageNumber=1&pageSizeOptions=10&pageSizeOptions=20&pageSizeOptions=50
    getmemberList: (param) => {
        return getRequest(`/security/grading/roles/member`, param);
    },
    //http://192.168.15.79:9526/maxkey-mgt-api/security/grading/roles/memberOut

    getmemberoutList: (param) => {
        return getRequest(`/security/grading/roles/memberOut`, param);
    },

    //http://192.168.15.79:9526/maxkey-mgt-api/security/grading/roles/add
   addmemberout: (param) => {
        return postRequest(`/security/grading/roles/add`, param);
    },
    //http://192.168.15.79:9526/maxkey-mgt-api/security/grading/roles/delete?ids=1052265857415118848
    deletememberout: (param) => {
        return postRequest('/security/grading/roles/delete?ids='+param, param);
    },

};
